<div id="categoryTag">
    <select id="goodsFirstCATG" name="goodsFirstCATG" onchange="goods_goodsFirstCATG_change()" style="width: 230px; margin-bottom:2px;">
        <option value=""></option>
        {[foreach from = $arrGoodsFirstCATG item = value]}
            {[if $value.FIRST_CATG_NO == $selGoodsFirstCATG]}
                <option value="{[$value.FIRST_CATG_NO]}" selected>{[$value.FIRST_CATG_NAME]}</option>
            {[else]}
                <option value="{[$value.FIRST_CATG_NO]}">{[$value.FIRST_CATG_NAME]}</option>
            {[/if]}
        {[/foreach]}
    </select><br/>
    <select id="goodsSecondCATG" name="goodsSecondCATG" {[if $selGoodsFirstCATG == "" || $selGoodsFirstCATG == null]}disabled{[/if]}
     style="width: 230px; margin-bottom:2px;">
        <option value=""></option>
        {[foreach from = $arrGoodsSecondCATG item=value]}
                <option value="{[$value.SECOND_CATG_NO]}"{[if $value.SECOND_CATG_NO == $selGoodsSecondCATG]}selected{[/if]}>
                {[$value.SECOND_CATG_NAME]}
                </option>
        {[/foreach]}
    </select><br/>
</div>